package com.example.animationmodule.adapter

import com.android.baselibrary.base.BaseAdapter
import com.android.baselibrary.base.BasePath
import com.example.animationmodule.R
import com.example.animationmodule.databinding.ItemMainAnimationBinding

class AnimationMainAdapter:BaseAdapter<BasePath,ItemMainAnimationBinding>() {
    override fun getItemLayoutId(): Int {
        return R.layout.item_main_animation
    }

    override fun covert(binding: ItemMainAnimationBinding, t: BasePath, position: Int) {
       binding.tvAnimation.text = t.moduleName
    }
}